package sort;

public class Choise {

	public static void main(String[] args) {
		int[] score = {82,83,81,76,92,74};
		
		for (int i = 0; i < score.length-1; i++) {
			for (int j = i+1; j < score.length; j++) {
				if(score[i] < score[j]){
					int temp = score[i];
					score[i] = score[j];
					score[j] = temp;
				}
			}
		}
		
		for (int s : score) {
			System.out.println(s);
		}
	}

}
